CFLAGS = -Wall
OBJ = Edge.o Graph.o Node.o Polynomial.o 

main: $(OBJ) main.o $(OBJ)
	g++ main.o $(CFLAGS) $(OBJ) -o main
%.o: %.cpp
	g++ $(CFLAGS) -c $<
